package demo1;

/**
 * @Author liangzai
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();

        computer.open();
        System.out.println("================");

        computer.useUsbDevice(new Mouse());
        System.out.println("================");

        computer.useUsbDevice(new Keybored());
        System.out.println("================");

        computer.close();
    }
}
